package cn.itcast.bos.service.system;/**
 * Created with IntelliJ IDEA.
 *
 * @author: SOS
 * @create: 2018-03-11 21:20
 */

import cn.itcast.bos.domain.system.Role;
import cn.itcast.bos.domain.system.User;

import java.util.List;

/**
 * @program: ideabos2.0
 * @description:
 * @author: SOS
 * @create: 2018-03-11 21:20
 **/
public interface RoleService {
    List<Role> findByUser(User user);

    List<Role> findAll();


    void roleSave(Role model, String[] permissionIds, String menuIds);
}
